package com.todod.base.module.infra.controller.admin.basecarousel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 轮播图管理新增/修改 Request VO")
@Data
public class BaseCarouselSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "2414")
    private Long id;

    @Schema(description = "平台", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "平台不能为空")
    private Short ptType;

    @Schema(description = "分类", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "分类不能为空")
    private Short locationType;

    @Schema(description = "排序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序号不能为空")
    private Integer sort;

    @Schema(description = "备注", example = "随便")
    private String remark;

}